﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage1.master" AutoEventWireup="true" CodeFile="ProvideInfo.aspx.cs" Inherits="ProvideInfo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <p>
    供货商信息：</p>
<p>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="ProvideID" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpdating">
        <Columns>
            <asp:BoundField DataField="ProvideID" HeaderText="供货商编号" />
            <asp:BoundField DataField="ProvideName" HeaderText="供货商名称" />
            <asp:BoundField DataField="ProvideAdd" HeaderText="供货商地址" />
            <asp:BoundField DataField="ProvidePhone" HeaderText="供货商电话" />
            <asp:CommandField HeaderText="修改" ShowEditButton="True" />
            <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
        </Columns>
    </asp:GridView>
</p>
<p>
    添加供货商：</p>
<p>
    供货商编号：<asp:TextBox ID="txtID" runat="server"></asp:TextBox>
</p>
<p>
    供货商名称：<asp:TextBox ID="txtName" runat="server"></asp:TextBox>
</p>
<p>
    供货商地址：<asp:TextBox ID="txtAdd" runat="server"></asp:TextBox>
</p>
<p>
    供货商电话：<asp:TextBox ID="txtPhone" runat="server"></asp:TextBox>
</p>
<p>
    &nbsp;</p>
<p>
    <asp:Button ID="btnADD" runat="server" OnClick="btnADD_Click" Text="添加供货商" />
</p>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
</asp:Content>

